package com.bakabase.animation.service;

import com.bakabase.animation.domain.Animation;
import com.bakabase.animation.domain.dto.AnimationDto;
import com.bakabase.animation.domain.dto.AnimationHomeDto;
import com.bakabase.animation.domain.dto.HomeDataDto;
import com.bakabase.animation.domain.vo.AnimationVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;


import java.util.List;

/**
* @author 22384
* @description 针对表【a_animation】的数据库操作Service
* @createDate 2024-10-20 20:51:10
*/
public interface AnimationService extends IService<Animation> {

    IPage<AnimationDto> selectList(Page<AnimationDto> page, AnimationVo vo);

    int insertNewAnimation(Animation animation);

    int updateAnimation(Animation animation);

    AnimationDto selectOne(Long id);

    int deleteAnimation(Long id);

    HomeDataDto selectHomeDataList();

}
